package com.ds.mapper;

import com.ds.entity.User;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 用户mapper
 */
@Mapper
public interface UserMapper {

    @Select("select * from t_user")
    List<User> selectAll();

    int insertUser2(User user);

    List<User> listMapper();
}
